home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / programming / oracle7 7.2 / DOC / HLPDOC72 / HLPDOC72.INS < prev    next >
Encoding:
Text File  |  1995-10-06  |  1.9 KB  |  77 lines

  1. /* Copyright (c) Oracle Corporation 1994.  All Rights Reserved */
  2.  
  3. /*****************************************************************************
  4.   NAME
  5.     hlpdoc72.ins - V3 installation script for Windows 95 hlpdoc72 product
  6.  
  7.   DESCRIPTION
  8.     This script installs the Windows 95 hlpdoc72 product
  9.  
  10.   OWNER
  11.     Bryan Sabol
  12.     
  13.   MODIFIED    MM/DD/YY    Reason
  14.     LMurphy 08/31/95    Removed parent hierarchy
  15.     LMurphy 06/01/95    Modified for use with Windows 95 doc10
  16.     LMurphy 01/24/94        Modified for use with On-Line Help
  17.       bsabol    03/21/94    Created
  18. *****************************************************************************/
  19.  
  20. {
  21.     if (doit)
  22.     {
  23.  
  24.     /*****************************
  25.     Set the VRF-INS script ratchet
  26.     ******************************/
  27.  
  28.     ins_ratchet = "7.2.2.3.1";
  29.                             
  30.     execute("%installer_home%\win95.ins");
  31.         
  32.     permit_retry_operations  = TRUE;
  33.  
  34.     /******************
  35.     Install the product
  36.     *******************/
  37.  
  38.     ui_product(product_label);
  39.  
  40.     if (exists("%ORACLE_HOME%\HELP\sqlnet.gid"))
  41.         remove_file("%ORACLE_HOME%\HELP\sqlnet.gid");
  42.  
  43.     if (exists("%ORACLE_HOME%\HELP\po7.gid"))
  44.         remove_file("%ORACLE_HOME%\HELP\po7.gid");
  45.  
  46.     if (exists("%ORACLE_HOME%\HELP\ora.gid"))
  47.         remove_file("%ORACLE_HOME%\HELP\ora.gid");
  48.  
  49.     if (exists("%ORACLE_HOME%\HELP\orcspt.gid"))
  50.         remove_file("%ORACLE_HOME%\HELP\orcspt.gid");
  51.  
  52.     ui_action(instantiate(installing_scripts));
  53.     copy(deinst);
  54.  
  55.     ui_action(instantiate(installing_files));
  56.     copy(doc);
  57.  
  58.     if (set_mshelp)
  59.         {
  60.            ui_action(instantiate(modifying_config));
  61.        modify("MSHELP",mshelp,ora_config,(product_filename(current_product)));
  62.         }
  63.  
  64.  
  65.     /*******************
  66.     Register the product
  67.     ********************/
  68.  
  69.     ui_action(instantiate(registering));
  70.     register(current_product);
  71.  
  72.     if (member(selected_products,current_product))
  73.         reference(current_product);
  74.  
  75.     permit_retry_operations = FALSE;
  76.     }
  77. }